import axios from '@/libs/api.request'
export default class fxzpApi {
  // 获取分享招聘企业数据
  static GetEnterPriseList (params) {
    return axios.request({
      url: '/ShareRecruit/GetEnterPriseList',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 获取企业详情
  static GetEnterPrise (params) {
    return axios.request({
      url: '/ShareRecruit/GetEnterPrise',
      method: 'get',
      params: params
    })
  }

  // 获取分享招聘全职数据
  static GetPositionList (params) {
    return axios.request({
      url: '/ShareRecruit/GetPositionList',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 全职详情
  static GetPosition (params) {
    return axios.request({
      url: '/ShareRecruit/GetPosition',
      method: 'get',
      params: params
    })
  }

  // 获取分享招聘零工数据
  static GetOddPositionList (params) {
    return axios.request({
      url: '/ShareRecruit/GetOddPositionList',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }
  // 零工详情
  static GetOddPosition (params) {
    return axios.request({
      url: '/ShareRecruit/GetOddPosition',
      method: 'get',
      params: params
    })
  }

  // 获取分享招聘简历数据
  static GetResumeMemberList (params) {
    return axios.request({
      url: '/ShareRecruit/GetResumeMemberList',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }
  // 简历详情
  static GetResume (params) {
    return axios.request({
      url: '/ShareRecruit/GetResume',
      method: 'get',
      params: params
    })
  }

  // 获取分享招聘下拉值
  static GetSelectValList (params) {
    return axios.request({
      url: '/ShareRecruit/GetSelectValList',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 获取签约企业
  static GetEnterPriseContracts (params) {
    return axios.request({
      url: '/ShareRecruit/GetEnterPriseContracts',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 获取顾问列表
  static GetConsultants (params) {
    return axios.request({
      url: '/ShareRecruit/GetConsultants',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 获取顾问拥有的职业
  static GetConsultantPositions (params) {
    return axios.request({
      url: '/ShareRecruit/GetConsultantPositions',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }
}